﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WooCooTest.Ioc
{
    public interface ICalculator
    {
        String Calculate(String input);
    }

    [Export(typeof(ICalculator))]
    class MySimpleCalculator : ICalculator
    {

        public string Calculate(string input)
        {
            return "MySimple:" + input;
        }
    }
}
